Changed trip_return javascript function in st-trip.js