fix index.html stuff in html5 history