I have 2 sets of checkboxes and when 2 checkboxes are selected in each group, rest are disabled. My Jquery works, but there is a lot of duplicate code. How can I combine the