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