Restoring IE8 support

Fixes issue #401