add support for Support for Cross-Origin Resource Sharing (CORS)