Update script

* Use history.replaceState when it's usable
* Bump version to 1.1.0