Add sample code for performing AJAX calls.