finished all_courses.js file