format
Implement CollaborativeMap js api.