Your domain is probably missing from the Access-Control-Allow-Origin header of the third-party IPs you are retrieving data from, which is why the CORS issue occurs. It is unfortunately a drawback of the browser's CORS enforcement.