Fixes #181 in the readium-js-viewer project