Update to add window.location.hash