fix CORS support
Merge pull request #2 from yourvine/feature/PRO-5

fix CORS support