template for js_of_ocaml