links: add hash routing

Haha, oh god `browserify` builds in git are _fantastique_. Anyway: this PR adds hash based routing to the docs. 

Not sure if you like comments above functions though, I can remove them if you want to. Thanks!