Extending the HTMLelement