Numpy Insert Element Into Array In Javascript