support Internet Explorer 8

Fixes #1