Including check that the link actually has an href

(https://github.com/ox-it/wl-reference/pull/1#discussion_r6152912)
Merge branch 'WL-2948' into WL-2951

Conflicts:
	library/src/webapp/js/headscripts.js