https://github.com/learningequality/ka-lite/pull/471/files#r5808662