Removed some Java code from JS output-grammar.