mimetypes as js expression