reverting chages to history pushstate