allow hash.register to be called after window.load
Merge pull request #8 from peter-mouland/patch-2

allow hash.register to be called after window.load