I'd just do `sum += Math.max(0, data[1])`