binding app.js to pivotal