hashchange event listener on window should be set for all browsers

Because we trigger `hashchange` event for unsupported browsers.