changed json output to trips instead of waypoints
changed json output to trips instead of waypoints
added rack/cors gem
added rack/cors gem
added rack/cors gem
udated trip to work with ajax post
nested waypoints to trips