Nathan prevent var shadowing

This is a merge of https://github.com/LLK/scratch-flash/pull/260