Fix file permissions within zip files
update SCORM_API_wrapper.js

fixes #282
Merge branch 'master' of github.com:numbas/Numbas