added the mime type for JS