Avoid always find object length

Hi, thanks you for your API. This is very cool. I have modified for-loop statement to avoid always find object length in each loop. I not very good in English, hope you understand what I mean. Thanks you.

My reference: http://net.tutsplus.com/tutorials/javascript-ajax/24-javascript-best-practices-for-beginners/