cleaned application.js