Added CORS support i.e. enabled cross-origin resource sharing