Loop 'for' performs better (http://jsperf.com/for-vs-foreach/111). But i agree in the style.