Removed undue dependency on js_of_ocaml.