Given that you appear to be reproducing a standard link, why not use one?
Given that the destination url is still hardcoded into the link, there seems to be no reason why you are using links that are inaccessible and dead to search engines when standard links will do exactly the same thing without the cons.
window.location.href = newLocation;
<a href="http://somesite.com" onclick="loadUrl(this.href); return false;">link-1</a>
It's also worth keeping in the window.location.href as this means the page change is logged to the browser's history so can be navigated using the back and forward buttons.
What am I missing?