Switching from $.fn.attr to $.fn.prop for checked attributes