fix rules for js_of_ocaml