DOMRange contains (untested)
Modularize DomRange's event support in UI