more changes in application.js