adds informative comments to collections.js