Update JS mime type