I have attached certain actions to the existence of a URL hash in order to mimic traditional 'back' behavior.
The trouble is, if you go back from the hash, the hash is removed from the URL string, but the JavaScript doesn't pick up that that hash has gone.
How can I make it pick up the removal of the hash?