A few months ago I wrote a simple Javascript beautifier, which suited my needs at the time. But since then while dissecting longer AJAX-centric scripts in various websites, I found some things that were giving the beautifier some trouble. So I took some time this morning to fix a few bugs and improve overall performance. Some of you may be asking, “What is a beautifier?” Put in nasty obfuscated code that is all run together, and it spits out something that's nicely formatted and very...