make emacs javascript friendly