Removed need for Object.keys()

Fixes #433.

http://jenkins.buttonweavers.com:8080/job/buttonmen-blackshadowshade/25/