Adding a workaround for an IE8 bug. IE8 has broken for...in loops preventing the iteration of all properties of an object. If one of the properties shadows a same-name property in the prototype chain that is marked {DontEnum} IE wont enumerate it.