Adding on to htmldocument