added ajax cross domain call code