Remove value var form each function.

Hi guys,

I was thinking there no reason for having value var in "each" function as there no other operations with it.
But if its something on purpose I missed from style guide, sorry for PR and ignore :)