fix infinite loop (thanks to Kevin Chiu / KevinC1118, see Pull Request #3)
fix infinite loop (thanks to Kevin Chiu / KevinC1118, see Pull Request #3)

dariocravero/readium-shared-js,dariocravero/readium-shared-js,bpyoung/readium-shared-js,pmstss/readium-shared-js,ravn-no/readium-shared-js,JoMedia/readium-shared-js,readium/readium-shared-js,NYPL-Simplified/readium-shared-js,kivuto/readium-shared-js,bpyoung/readium-shared-js,pmstss/readium-shared-js,AccessSeoul/readium-shared-js,AccessSeoul/readium-shared-js,NYPL-Simplified/readium-shared-js,bibliolabs/readium-shared-js,NYPL/readium-shared-js,bibliolabs/readium-shared-js,NYPL/readium-shared-js,ravn-no/readium-shared-js,kivuto/readium-shared-js,readium/readium-shared-js