Fixing NPE in JavaScriptLanguageSupport tree