add list of mime types to JS