Reference window.location explicitly