AJAX fixed

AJAX feature fully functional