A collection of DOM-related utility functions