added jpeg to mime helper