Added Object.keys compatibility for IE