fixes up js2 mode, adds snippets and some other nice stuff