Fixes for app to work with GitHub Pages