AJAX friends following bug fix