adjust js2/js mode snippets