Test with stoppropagation, preventdefault and window.location = link.url