Attach our function to the onhashchange event