Stop browser errors on load in browsers without classList.

Gracefully degrade checkboxes to native controls if classList is not available.