Added get_dom_object fn