fix typo in SCORM_API_wrapper.js

fixes #290