updt RegTrip js