set binaryType to arraybuffer as default