For loop optimization

Noticed that `fetch` cached the args length but `window.basket.require` did not.
Merge pull request #130 from acconrad/patch-1

Make the for loop consistent with fetch for optim.