The Closure Compiler was just released by Google: http://googlecode.blogspot.com/2009/11/introducing-closure-tools.html Most exciting for WebKit is we have a new JS pretty-printer: http://closure-compiler.appspot.com/home Dump piles of awful JS in there, and click "whitespace only" and "pretty print" and voila! -eric