Do allot additional time if you happen to be heading to jfk on a fri evening as traffic to jfk from the city can be quite bad. Another option for your return that could be convenient (esp if you're flying DL) is to take the helicopter in from downtown or midtown. You can book them in advance, it takes 8min and costs ~$165
http://www.flyush.com/