Force hashchange event polyfill for old versions of safari