clean up: application.js
clean up code