MDL-40270 enrol: Ajax to search & populate the "Link course" element