added the document listener to HTMLBuffer
Merge branch 'master' of http://github.com/skkroh/htmledit