code: function handleUploadError (err) {
        // If there was an error
        if (err) {
          // and there is a modal on the page
          var modalAlertShowing = page.evaluate(function () {
            var $modalAlert = $('#modal_alert');
            return $modalAlert.length && ! $modalAlert.hasClass('hidden');
          });
          if (modalAlertShowing) {
            var errMsg = page.evaluate(function () {
              return $('#alert_msg').text();
            });
            err = new Error('icomoon error encountered: ' + errMsg);
          }
        }
  
        // Callback
        cb(err);
      }
docs: /* 5 seconds