Fix for loading JPEG on mobile devices.

[Issue]
  Failure in loading JPEG on mobile devices.

[Cause]
  Uint8Array object is just a reference to the larger ArrayBuffer.
  In this case, the large buffer is passed to the BlobBuilder.append().

[Fix]
  The issue has gone by creating new Uint8Array object and copy data from the large buffer before passing to BlobBuilder.append().