Added a click event if the href attribute contains javascript.
Fixes #62