Cleaning up app.js