why are you doing `[0].checked` instead of `.prop('checked', true)`?