Looking for mathematical formula's editor plugin like WIRIS


I’m looking for a jquery/javascript plugin for writing mathematical formula’s in a WYSIWYG editor like wiris.com, i saw something similar on codecanyon but all the mathematical formulars are being converted to images.
i need the mathematical formula’s to be editable it could be MATHML or any other editable formula format.

one special feature i like on wiris is the ability to create tables too