fix for IE8 (and below)
Merge pull request #15 from ErshKUS/master

fix for IE8 (and below)