I assume your script that unchecks everything simply iterates through all checkboxes, you could simply call the same callback as onChange inside the iterating loop and thus it would get called for each box. If desired you could even add in an if statement that would only run the callback if it was actually changed. Hope this helps.