Revert "use history.pushState." ref #315

This reverts commit 98f77b700f55ff42739dce313ca09eab8b48421d.