Update JavaScriptGenerator.java