first cut at ajax, test functions live in the "ajaxtest"folder