Some simple performant dom helpers