Update collectionapi.js

Uncomment CORS