So we have been discussing doing the same thing with epubjs and reader so that we don't have copies of them in every book, which is a maintenance nightmare.
Does anyone forsee a cross-site scripting problem with doing the same thing Marvin did for the simple epub-viewer?