library agnostic, extensible DOM utility