add mime types to js