Working on client-side javascript's handling of collections.