AJAX-Based Socket - Contoller