window.location working