set checked attr to `true` rather than "checked"

setting an element to checked="checked", and then `removeAttr("checked")`
from that element results in the dom attribute of the element (as opposed to
the `checked` value of its IDL) being updated.

As a result, `$element.attr('checked')` that has run through this code will end
up being either `true` or `"checked"`.