IE8 fix
Merge pull request #188 from Lizards/adi

IE8 fix