removed unused code in app.js