EventEmitter html checkboxes grouped and controlled with an optional master box in a sane and friendly way