fixed IE looping differences
Merge pull request #43 from isflorin/dev

fixed IE looping differences