Fixing headers for OPTIONS requests, which impacted CORS

Fixing jshint test
Merge pull request #283 from avoidwork/Options

Fixing headers for OPTIONS requests, which impacted CORS