Cleaned up app.js