handler ajax for cross domain by javascript