update app.js to current master