actually, we got lots of that code all around it seems, look at toggleCheckboxesBySelector function as well...