Two jets nearly collide at JFK