code: function outputDataHandler(readData) {
      if ("string" == typeof readData)
        readData = readData.split("").map(function(x) {return x.charCodeAt();});
      // Add data to our buffer
      var bufView=new Uint8Array(readData);
      searchData(bufView);
      for (var i=0;i<bufView.length;i++)
        displayData.push(bufView[i]);
      // If we haven't had data after 50ms, update the HTML
      if (displayTimeout == null)
        displayTimeout = window.setTimeout(function() {
          for (i in displayData)
            handleReceivedCharacter(displayData[i]);
          updateTerminal();
          displayData = [];
          displayTimeout = null;
        }, 50);
    }
docs: / Called when data comes OUT of Espruino INTO the terminal