PARSER: let within loop produces incorrect result. Fixes #2.

Fix is to not wrap the let block in an IIFE when it is within a loop.