Refactoring after moving the html to gh-pages