Merged to show the fixed AJAX call