byteDisplay added as DOM elem ref updateByteDisplay added which sets the inner HTML to be the length of the content spilt by commas on thousands showDisplay function added to toggle between the 2 displays Call updateByteDisplay on switching tabs