adding code for rendering mathjx