adds ride.js, which defines the Ride Object and modifies code in createRide to use Ride object from ride.js