let page.js handle hash based routing

When I clicked on `<a href="/legal#privacy">Privacy</a>` page.js did move to `/legal#privacy#privacy`. This is because `path` already contains the hash fragment.

I removed these lines and now it works fine.