Given that, AFAIK, calibre's e-book viewer is Chromium based, I suspect it is being fed an undefined object when reading a property or calling a method. In your case, CalibreRangeWrapper is the culprit.
I could be wrong since I only know enough about JavaScript to be dangerous.
|