There are a couple JavaScript modes out there:
- js2-mode by Steve Yegge
- javascript.el by Karl Landström.
- espresso?
- Something else?
Does anyone have a recommendation on which to use?
EDIT
2011 June 11 - This is sort of an old, outdated question at this point. FYI: Emacs v23 now includes a javascript mode, it's called js-mode and it is basically a renamed and updated espresso mode. I've chosen to use the built-in mode.