Use a for loop, because ES3 browsers don't have "reduce"