added js2 mode as default for javascript;