Need to inject MathJax callback earlier
Make preview refresh enable/disable atomic

Fix #113