Hacking hashchange to play nice in an AMD environment