switched forEachs to enyo.forEach for ie8 compat