js MIME type fix