Synchronous ajax request to show details of a keyresult