Updated application.js