Use the correct JavaScript MIME type