Install js2 mode for emacs.
Clean up Emacs config.
Install tern emacs plugin.