refactored page.pushstate in changeset.js