Making tangelo widgets extendable like jquery widgets

Used in the soon-to-be-ready geojs map plugin.