Add CORS support for requests from JavaScript in the browser.