js interaction on course offerings