fix for Firefox's bug 582361, autodecoding window.location.hash