move js-mode snippets to js2-mode