Simple formula editor for HTML