more refactoring of travel_list.js