Update app.js to use EB-style configurations