Js_of_ocaml interface for LILiS