Update IIIFBookReader.js

un-hardcode numLeafs and make it the number of canvases in manifest