Fixes readium-js-viewer bug #218