Either you saw a CX cargo or a non-CX aircraft. The passenger 744s have not flown to JFK since 2008. Only SFO & YVR among NA currently have the passenger 744 and should one of these flights face a diversion, it is unlikely they will be diverted to JFK considering the flight routing and distances involved.