Added a preventdefault to the link handler.