JavaScript tips — Find the maximum value in an array of numbers