Added configurable Access-Control-Allow-Origin header.