if ( errors.length === 1 ) {
                $errorBox.append( errors[ 0 ] );
            } else {
                $errorBox.append(
                    $( '<ul>' ).append(