Experiments with Javascript arrays and TypedArrays