Editing JS with #Emacs? Tern is looking impressive: https://github.com/marijnh/tern (demo: http://t.co/sB1xOKHmV5)