Reset "initial href" for popstate fix also on pushState and replaceState
Rename variable for clarity