improvements to mathtex preprocessor loofah scrubber - allow $ in nested {}, mathjax preview (with js) or noscript alternative, display mode