IE8 seems to work

Use native `Object.keys` if available.