MDL-35870 mod_scorm : Initializing scorm API using js_init_call