Fix up app.js. Create responses library.