fixing jquery prop/attr issues with checkboxes and radio buttons