fixes #5 - ie8 legacy support.