Compat with IE8

Hi,
This pull request adds support for IE8.