Code cleanup

Ran Eclipse JavaScript formatter on all js files and JSON Eclipse Editor Plugin formatter on .json files.  Used a formatter based on JavaScript Conventions formatter with max number of columns set to 120 instead of 80.  All other settings left at default.

NOTE: When editing outside of eclipse, use a tab size of 8 and an indent size of 4 to preserve the formatting.