Update collectionapi.js

hopefull last time.