Fix AJAX request call