Numpy Get Highest Value In Array Javascript Methods For Objects