Minor updates to append html to body