Add IE8 support

Hello!

I made a little fix for IE8 compatibility

Best
Damien