Improve performance

Method modified loop injector in order to improve performance as shown in tests on jperf: http://jsperf.com/browser-diet-jquery-each-vs-for-loop