html table radio buttons and checkboxes working with defaults