Strict mode added 

Strict mode added and loop initialize variables declared