Modified Application.js file