var tabs = function () { }; $.extend(tabs.prototype, { add: function () { }, remove: function () { } });