Fixed collections.js

Fixed accidental changes made on collections.