Use ko.utils.forEach instead of es5 forEach