It's very difficult to answer the question accurately with the data given. If the airline operating the flight from JFK is EU based then my gut feeling is that EU261 rules probably apply. However, be very careful when talking to your friend. There is potentially a significant difference between the flight number booked and the actual plane that should have flown/operated.