Better use "for (var i = 0; i < results.length; i++) " to iterate