Replaces hashes to pushState.