add hashchange event