ajax for checking availability, disable slots if they are in past