mathjax helper
better style
DRY