Get The Highest Value In Array Javascript Function How To Use