APIWrapper.js file commonly used with SCORM with xAPI calls embedded