add examples to AJAX