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