Ajax query in linkDiscovery