Fix AJAX loading