Change the javascript mimetype