made to work with the latest feature/mo_player branch of readium-shared-js (which is based on the latest code from the develop branch)