Fix forIn iteration for IE8 constructor property