Lib: small rewrite so that it work with automatic ppx transaction
Lib: small rewrite so that it work with automatic ppx transaction

alainfrisch/js_of_ocaml,alainfrisch/js_of_ocaml,alainfrisch/js_of_ocaml,alainfrisch/js_of_ocaml,alainfrisch/js_of_ocaml