Update collectionapi.js

and now...