fixed js of checkboxes and radios