var customMediaLibrary = window.wp.media({
    frame: 'select',
    title: "'Bild wählen'",
    multiple: false,
    library: {
        order: 'DESC',
        orderby: 'date',
        type: 'image',
        search: null,
        uploadedTo: null
    },
    button: {
        text: 'Fertig'
    }
});