Fixing NPE in JavaScriptOutlineTree for certain syntax errors