Use history.replaceState()