for javascript cross domain