JS backend: fixed crash when use lambda or local function inside enum method.
JS backend: mangling JS reserved words.
JS backend: added tests for reserved words.