add mime type to js