Js_of_ocaml: fix precedence of js method call