IE8 compatibility
Merge pull request #37 from derduher/master

IE8 compatibility