Cleaning up the code some.

Use www.jspretty.com to clean the code and provide indents on most
files.