added a generic callback always called by ajax when called from DataSource