correcting application.js