enhancements to ajax request/response