address jshint error due to for-in loop
Merge pull request #1310 from yugangw-msft/jshint

address jshint error flagged by the latest jshint 2.5.6 released yesterday.