Python Numpy Add To Array Javascript Methods And Functions