Adding preventDefault element.