correct javascript mime type