For loop optimization

Noticed that `fetch` cached the args length but `window.basket.require` did not.