Add a function as IE8 does not support object.keys
Convert indents to spaces
Merge pull request #478 from davismr/github-main

object.keys in IE8