trying haixing's mathjax solution again