modified fetchcoco.js for the courses