Change some formatting to match Dojo style guide better
http://dojotoolkit.org/reference-guide/developer/styleguide.html
Used the following perl:
perl -pi -e "s/\) \{/){/g" *.js
perl -pi -e 's/,(\w)/, $1/g' *.js
perl -pi -e 's/\} (else|catch)/}$1/g' *.js
perl -pi -e 's/(do|else|for|if|switch|try|function|catch) \(/$1(/g' *.js