A library for rendering and editing MathML documents