Adds compatibility for IE8
Merge pull request #43 from osiam/IE-8Compatibility

Adds compatibility for IE8