All server-side functions now using upgraded AJAX function