Add support for IE8 by removing Object.keys() and forEach()