Why not use `document.location.hash` or `window.location.hash`?