Moved application wide js to application.js