remove dead code in app.js