Fixed comment in generated Javascript code
Added mappings and equivalence parsing.