I think you can just use `$('#certifiedVisible').checked()` directly instead of assigning it to a variable and only using it once.