Use Uint32Array() instead of Array()

This speeds JavaScript performance up to 1330ms and cuts memory usage by a factor of three.