Unless the two flights are on the same PNR you run a big risk of missing your JFK flight and not gettIng reticketed, as any delay in you arrival would put you at risk.
If these are two separate tickets, I suggest you schedule a longer layover or get trip insurance.