added javascript mode (js2)