Updating bindToForm() and loadFromDOM() to work for checkboxes