add crossdomain sample code