Would it make sense to addd the single-file build of MathJax used in Readium? That includes all necessary components for MathML input and SVG output; it is somewhat large (1.5MB unzipped).
Right now, only chapters you've viewed are guaranteed to render when offline.
Happy to make a PR.