Format application.js

- http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml
- Indent by 2 spaces at a time
- Remove trailing white spaces
Merge pull request #51 from zqzhang/zqzhang/js-format

Format application.js