Clean code at app.js