let remove node child =
    node >>> call_method "removeChild" [| child |] >>> ignore