necessary tweak to app.js that rehearsal revealed