Fix template lookup in studio and mathjax inclusion for the xmodule