Fix manipulation of namespaced elements/attributes in client code

This needs PR #236 for js_of_ocaml