cleaned the app.js