Add weak.js if it exists in the js_of_ocaml rule