NOTE: this is obsolete. I'm not using this mode anymore. It's a cheap hack and has a lot of problems. I wrote an article about my js2-mode setup which provides good indentation and other stuff. Check it out. Ignore the rest of this page. :-p Download javascript.elHere's my update to an old javascript-mode (authors Steven Champeon and Ville Skyttä). In essence, I was unhappy with indentation,