adding mathjax to layout