Update collections.js