Add the crossorigin attribute to your < script > tags:
< script crossorigin src="..." >< /script >
Also ensure the response is with the Access-Control-Allow-Origin: *
Please do not forget to "Accept the answer" wherever the information provided helps you. This will help others in the community as well.