Move app.locals to app.js proper