Why do aircraft take this strange route into JFK?
Stormy change of arrival plans

Originally, the flight was planned to use the CAMRN4 STAR coming in from SIE VOR south-southwest of KJFK.  However, there is a strong band of storms just south of that VOR on the FlightAware map, blocking that route.  So, the flight got a reroute to pick up the LENDY6 STAR instead, getting vectored northwesterly to around FQM (Williamsport) VOR first and then back onto the course to pick up the STAR in order to provide sufficient space to descend to FL230 by JENNO.