for loop works now! doc.ready vs window.load business