use ajax request to retrieve trials..