Adjusted application.js