Minor changes to app.js to work with project ids for samples