app.js fix for gh-pages