updating application.js