Ultralight DOM wrapper for templating