Fix bug: need to pass course id to moodle.js.
Fix bug: need to pass course id to module.js.