First version of the ajax script for the rideCreate page