Fix some global leaks due to variable declaration in for loops
Fix some global leaks due to variable declaration in for loops

Enyo-DCO-1.0-Signed-Off-By: Ben Combee (ben.combee@palm.com)

enyojs/layout