remove Object.keys and forEach for IE's sake