Numpy Array Compare Javascript And Python