safari, firefox optimalization