code cleanup cleanup up app.js