I don't understand why WebStorm thinks an unresolved function should only be classified as a 'weak warning' (out of the box install). It's almost impossible to notice the faint underline for weak warning and it will crash your SuiteScript at runtime. Surely a severity of 'error' is more appropriate?