Update collaborate.js