fix courses.js