JFK Tower could see flames or "What appeared to be flames" coming out of the engine on the left hand side. Jetblue aircraft taxiing on the ground commented "that engine could possibly burn off".
Crew made one orbit to get sorted after engine shut-down and fire extinguishment, and made an ILS approach to 31L.
Very, very profesional as far as the ATC chit chat goes.