Change AJAX calls to confront the API-changes§