Not much to say here really, there’s a single, small script I use all the time. There’s nothing to add to the head of your document. All you need to do is add a tiny bit of script to your HREF tag like so:
<a href="javascript:window.scrollTo(0,0)">This is the link</a>