base: Fix use of Uint8Array with out the new operator

Get this error message:

  Uncaught TypeError: Constructor Uint8Array requires 'new'