IE8 and 9 fix (#124)