some small tweaks to pushstatehelper to enable js-do-popstate
Merge branch 'temp' into project/architizer