let get_element_by_id root id =
    root >>> call_method "getElementById" [| string id |]