The DOM doesn't support extending existing element types... so don't try it. Unspecified results.
You also can't new up DOM elements. You need to use document.createElement.
There are other ways to create the equivalent of custom controls - the most common of which is to create a jQuery plugin. There is a script# library project template for creating such plugins.