Use newHTMLElementPrototype() function to create prototype with the callbacks