bugfix: short *one* stylesheet due to off by 1 error, when juice'n

- preformance: cache's length of array in variable
- uses i++ instead of ++i, helped me when I was hunting the bug.