Change
var tabIndex = sourceSelect.attr("tabIndex");
to
var tabIndex = sourceSelect.attr("tabindex");
Change
control.attr("tabIndex", tabIndex);
to
control.attr("tabindex", tabIndex);
Change
checkBox = $('<input disabled="" type="checkbox" id="' + id + '" '="" +="" checkedString="" +="" classString="" +="" '="" tabindex="' + tabIndex + '"/>');
checkBox = $('<input disabled="" type="radio" id="' + id + '" name="' + idBase + '" '="" +="" checkedString="" +="" classString="" +="" '="" tabindex="' + tabIndex + '"/>');
to
checkBox = $('<input disabled="disabled" type="checkbox"...
checkBox = $('<input disabled="disabled" type="radio"...
Change
var label = $("<label for=" + id + "/>");
to
var label = $('<label for="' + id + '"/>');
The icon configuaration option is required.