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