Made app.js cleaner