Fix checkbox test in Firefox

Apparently .click() on a checkbox won't check it in Firefox (latest) if it isn't in the document.