Added initial support for a client side AJAX callback