Fix for jQuery 1.9+ incompatibility

Swapped out .attr() method for .prop() when setting "checked" property on checkboxes. jQuery 1.9 and up don't offer backward compatibility for the old approach anymore.