MDL-38537 Javascript: Quiz client side auto save
restoring text field correctly
Updates radio and checkboxes