Fixed support in IE10. Switched to using Uint8Array.