I know you’ll find this hard to believe dear reader but I’m a big fan of using Emacs to write JavaScript. One thing that irked me in the past is that none of the libraries got the indentation and other formatting how I wanted. Luckily, I recently stumbled onto js-beautify (via the most excellent jsFiddle. Lo and behold, there is a command line interface to beautifying JavaScript! Good thing Emacs