MDL-47915 mod/scorm: Added JS fallback for themes using copied layouts.
MDL-47915 theme: Reversed previous commits.