use svg for mathjax per default and add esc key support for closing the
overlay