Avoid double-encoding URI

`History.pushState` already calls `encodeURI`.

If `currentState.url` is already encoded, e.g. `%3A`, then it will be double encoded by `encodeURI`, and `.replace(/%25/g, "%")` will only be run once, yielding a URL of `%253A`.