Fewer module-level variables in app.js