Added hashchange event watching