fix IE8 support which I broke in 1.0.0

this fixes #14