Add preventDefault and allow preventing of linkclick event