Added app.js

Now the demo works on gittio.