replace mime with browserify compatible mime-types