Allowing mimeTypes to be part of config settings

I wanted to add mimeTypes without having to directly change the main js file so I made it part of the settings.