regTrip, js updt