Handling click and change javascript events when checking/un-checking checkboxes.

Checkbox was only triggering change event not click event as well.