change checked value with .prop instead if .attr