Rewrite of "sneathlane" universal editor using js_of_ocaml