Compile OCaml code to JavaScript with js_of_ocaml