pay attention to and set window.location.hash