Patched Rated 4 out of 5 stars

I know this is not the place for a patch but there doesn't seem to be a proper place for it.

This extension didn't work in Drupal, and any Drupal administrator knows how cumbersome it is to check long lists of checkboxes.

So I changed the code as below:

In checkbox.js, function ccb_click, replace these 3 lines:
var event = document.createEvent("MouseEvents");
event.initEvent("click", true, true);
by one line:

It's much simpler and perfectly valid.

Could the maintainer of this module change the code?