Grammar is based on ANTLR Javascript https://github.com/antlr/grammars-v4/tree/master/javascript and will be updates as needed to be in sync.
Number of fixes has been made to the grammar to be ECMAScript compatible and they are annotated in the gramamr file with FN.N