fix to use newTermName()
Merge pull request #2647 from mikamix/fix_js_macro_deprecations

Fix JsMacroImple deprecations