Transform math from wordpress.com to mathjax

cc @asmeurer.