Modified to app.js to allow it to run under GH pages