minimal AJAX functionality now works