Support location.hash (issue #3)