fixed multiple wrapping of form controls

.bs-material is never added to the inputs when checked. If the elements
are reparsed, when arrive.js fires for example, these elements are
wrapped again.

Also used a variable to hold the jQuery element so jquery doesn't have
to go get the element again.