Use pure JSON config, added MathJax safe mode