VID-1972 updating lazy loading module to comply with JS coding conventio...

...ns

Pinging @macbre for code review b/c he's written the majority of this code. 
I can understand the arguments for both. Since checking var.length is such a common idiom, I think checking the negation of that is still readable.