add js snippets and js2-mode global