dynamic mathjax loading
use correct relative paths for EPUBs