Adding some extensions to mime.js