A simple exercise in AJAX requests