changed readByte() and readString() to read from Uint8Array returned by xhr2
replaced use of overrideMimeType xhr request with xhr2 request