Refactor application javascript
Merge pull request #147 from insignia4u/new-site-integration

Refactor application javascript