fix for ie8
Merge pull request #58 from jincod/master

fix for ie8