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