shim for Object.keys

IE<9 doesn't have Object.keys(). This fixes that.