Fix index.html to work in non-root directories