My changes to epub.js