readding callback for cross domain ajax request