Changed: Switch attr calls to prop to make the JavaScript work correctly. Fixes the select all checkboxes.