<script type="text/javascript">
/*
type: content type identifier (required)
class: quickbutton CSS class
raw_id_picker: URL of raw_id_fields picker which should be automatically opened
after: callback, receives new fieldset as argument
keep: keep entry in content type dropdown (defaults to false)
*/
var CONTENT_TYPE_BUTTONS = [
    {
        type: 'richtextcontent'
    }, {
        type: 'mediafilecontent',
        class: 'imagecontent',
        raw_id_picker: '{% url admin:medialibrary_mediafile_changelist %}?type__exact=image&pop=1',
    }, {
        type: 'gallerycontent'
    }, {
        type: 'mediafilecontent',
        class: 'pdfcontent',
        raw_id_picker: '{% url admin:medialibrary_mediafile_changelist %}?type__exact=pdf&pop=1',
    }, {
        type: 'oembedcontent'
    }, {
        type: 'mediafilecontent',
        class: 'audiocontent',
        raw_id_picker: '{% url admin:medialibrary_mediafile_changelist %}?type__exact=audio&pop=1',
    }
];
</script>

<script type="text/javascript">
/*
type: content type identifier (required)
class: quickbutton CSS class
raw_id_picker: URL of raw_id_fields picker which should be automatically opened
after: callback, receives new fieldset as argument
keep: keep entry in content type dropdown (defaults to false)
*/
var CONTENT_TYPE_BUTTONS = [
    {
        type: 'richtextcontent'
    }, {
        type: 'mediafilecontent',
        class: 'imagecontent',
        raw_id_picker: '{% url admin:medialibrary_mediafile_changelist %}?type__exact=image&pop=1'
    }, {
        type: 'gallerycontent'
    }, {
        type: 'mediafilecontent',
        class: 'pdfcontent',
        raw_id_picker: '{% url admin:medialibrary_mediafile_changelist %}?type__exact=pdf&pop=1'
    }, {
        type: 'oembedcontent'
    }, {
        type: 'mediafilecontent',
        class: 'audiocontent',
        raw_id_picker: '{% url admin:medialibrary_mediafile_changelist %}?type__exact=audio&pop=1'
    }
];
</script>

Remove trailing commas in content type buttons JS code
Remove trailing commas in content type buttons JS code
