window.onload calling pushstate.