I added setup.js as a test module that will polyfill functions to facilitate testing in older browsers.
I loaded the setup.js module.
I added Object.keys, if needed.
I leveraged Object.keys and Array.prototype.forEach to facilitate testing.
I added multiple var statements.
I added multiple var statements.