Added an attempt to use CORS