A simple wrapper around window.location.hash