Clean up dependencies and app.js