course_id is fine to be used here... a fix will be sent to jquery.xblock