to fire hashchange event