Update lib/dom.class.php