Added original html tag to layout object.
Added layout object construction to html loading loop.