IE8 support

Fixes #1