small changes to pushstatehelper to support back button
Merge branch 'project/architizer' of https://github.com/typecode/typecode-js into project/architizer