add html5 to location to remove slash from hashes