get domain from ajax