Change checkboxes .attr to .prop