Faster to call .length twice rather than define a new variable

See my tests at http://jsperf.com/speedyyay (don't judge the url,
please)