code: function (options) {
              var message = options.message,
                  cancelButtonLabel = options.cancelButtonLabel,
                  confirmButtonLabel = options.confirmButtonLabel,
                  callback = options.callback,
                  icons = {
                      OK: null,
                      CANCEL: null,
                      CONFIRM: null
                  };
  
              bootbox.setIcons(null);
  
              if (options.confirmClass) {
                  icons.CONFIRM = options.confirmClass;
              }
              if (options.cancelClass) {
                  icons.CANCEL = options.cancelClass;
              }
              bootbox.setIcons(icons);
  
              var args = [message];
              cancelButtonLabel && args.push(cancelButtonLabel);
              confirmButtonLabel && args.push(confirmButtonLabel);
              callback && args.push(callback);
              return bootbox.confirm.apply(bootbox, args);
          }
docs: Options:
  message {String} message to be shown in confirm popup
  confirmButtonLabel {String} Confirm button label in confirm popup
  cancelButtonLabel {String} Cancel button label in confirm popup
  callback {Function} Callback called when confirm is closed, true or false is passed to callback
  confirmClass {String} Bootstrap class to show icon on confirm button
  cancelClass {String} Bootstrap class to show icon on cancel button
  @param options {Object}
  @returns {*}