minor updates to the js that sync's course enrolments. Refs #413