CodeIgniter, jQuery, social network