An alternative is to use enyo.foreach