Legacy browser support: Object.keys()/Array.isArray()