removed unused js and moved app init to application.js