Refactor application.js

- Added 'use strict'
- Encapsulate in IIFE
- Remove $(document).ready (crazy!)
Merge pull request #1 from jpetto/master

Refactor application.js