adding ajax check of availability of title for badge