registerElement method lets you register custom DOM elements