Clone (tracking via git-svn) of Baron Schwartz' flexible-js-formatting at google code.