Future<bool> setMIME(List<String> mimes) async { return setMimeJS(container, [for (final mime in mimes) mime.toJS].toJS); }