code: function updatehex(){
    var hex = hexinputfield;
    if(hexinputvalue != hex){
      updateall(hexinputtobin(hex));
      clearallinputs();
      hexinputfield = hex;
      hexinputvalue = hex;
    }
  }
docs: The hexadecimal input field has been changed