Changed to window.location extension