Detecting change of radio/checkbox

Detecting change of radio/checkbox

I'm rewriting a plugin of mine and I want to try to take care of an issue we had in the past.

Here is the jsfiddle of what I'm talking about 

When you check the checkbox by clicking on it, the change event is triggered. It's being logged in the console.

However, if you use the button to the left of it, 'change' is not triggered. 

With the plugin, I want to be able to detect this change if the user is checking the checkbox or radio button dynamically with code they already have. 

Any thoughts?

Thanks,
Matt