Don’t use this. As you see it’s unreliable even if JS is available. And if it’s not it won’t do anything. Just put a regular link to whatever page it should go and let the user decide for themselves how they want to navigate.
Donít click this link!