Adding mimetype in js import