if ($.isFunction(value)) {
        return this.each(function(i) {
          elem = $(this);
          elem.removeRole(value.call(this, i, elem.attr('role')));
        });