Refactor: simplify dependenciesfor app.js.