updated application.js