Amended javascripts/application.js file