Fixed the recently reported JavaScript bug, but it's only a hack.  It could cause other problems.
An alternative to the hack at the end of JavaScriptScanner.skipNewline: allow extra newlines in imported JavaScript files by overriding filterTokens in the JavaScriptScanner class.