Using location.href instead of location.replace for js redirects.

That keeps browser history.