Fixed a bug with FLIGHTS_LIST js