MDL-41665 scorm loadSCO.php: Rewriting using html_writer