modified application.js file