date duration displays when oxes are valid. hides when either is emptyied. json for trip save is now generated. ajax sent but server side needs to be completed added current user and trip id to javascript in erb file