Python Numpy Add To Array Javascript Length Of Text