A lightweight DOM wrapper