bookAvailability: added check so that you can't book an availability that is already booked. calendar.php: added onClick events for booked availabilities