Format application.js

- http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml
- Indent by 2 spaces at a time
- Remove trailing white spaces