made it work for firefox
Moved to index.html for github pages