Modular DOM utilities for modern browsers