Big cleanning: no more dom manip in ocaml