So I think this whole file is unnecessary.

You can boot a simple enough web server from the commandline like so: 

```
python -mSimpleHTTPServer <dirname>
```

I don't think you should need any CORS support here.