Loading friends data asynchronously using AJAX and JSON.