$.fn.selectpicker.noConflict = function () {
    $.fn.selectpicker = old;
    return this;
  };