jquery 1.6+ requires use of prop instead of attr

for 'checked' state of checkboxes. see http://api.jquery.com/prop/