getschedule in trips.js