Fixed bug in JavascriptParser