Subscribe to changes in window.location