render $$ x $$ into basic mathjax