Added tree builder to the HTMLBuffer