fix offline check
Merge branch 'master' of https://github.com/Education-Numerique/authoring.js