MDL-35870 mod_scorm : Separating js and php files