Testing cross domain call from phonegap