update app.js remove clean up