Adds configuration for CORS.

Doesn't work locally in Chrome. Testing on github server.