Airlines - Move global var definition outside callback
This is because the callback and helper functions both use
these globals