Added Erlang configuration in Emacs init file

* Modified vimrc for JavaScript files