A helper function that listens to the URL fragment identifier, aka window.hash, for changes and allows you to supply a map of functions to call for various values.