put some pseudo code in to help explain AJAX for Event date