Update flightDetails.js