add some dom utils