Updated Application.js file