changed js_to_ocaml support