updated js for reservations page

set date parameters for logical validation