How to enhance Mozilla Parser API with ECMA-262 Edition 6 Static Semantics