Use hashes instead of history API