window.location.hash changed to location.hash