cleaned up app.js again