location.replace is used for links which should be "removedFromHistory"