draw remotely in groups. javascript, django