add some support to HTML DOM