cleaning up application.js