refactored application.js, added application.mobile.js, added explicit declarations for application js, removed ajax call for chart js, removed unused jquery scrollto,