using prop() instead of attr() to detect if checked

Issue:
Can't check the box by clicking the label with jquery 1.9 (and maybe jquery 1.6+)

Correction:
Use jQuery.prop() instead of jQuery.attr() to detect if the box checked or not.