Add constructor for HTML elements
Build elements using constructor