fixing html5 mode hash urls