Export the mime module used.
Make it possible to load this library.
Fix bugs in JS bundler.