updated window.location.href line