app.js response debug code