use window.location.href