Updated code according to Google JavaScript Style Guide

http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml
Update to code style only