Fix calling Object.keys on undefined

I am not sure why browserify 5 is even running into this issue, but I can't bundle my app anymore without this fix.

Any insight as to why `a` or `b` might be undefined?