IE10 popstate bugfix