js/flight: Check global_time value explicitly

This makes the playback compatible with the live tracking pages