Various attempts to solve the CORS issues... resulting in failure