Prevent default on click callbacks attached to anchor element in the plain JavaScript Adapter