Firefox location.hash getter bug; fix #352