This is my emacs setup, the goal is to have it working accross serveral machines with linux or OSX.
As for now, I mainly use emacs for working in Ext.js.
The basis for my emacs-setup is from http://blog.deadpansincerity.com/2011/05/setting-up-emacs-as-a-javascript-editing-environment-for-fun-and-profit/