added queries and js code to pass booking dates to homepage