add html element with prototypes