Fix incorrect MIME type for .js files loaded through CordovaResourceAPI.

This fixes devtools complaining about .js files being served as "text/plain"
when they have gone through remapUrl().