IE8 compatibility
Merge pull request #6 from derduher/master

IE8 compatibility