clean up app.js