removed Object.prototype

replaced Object.prototype with Element.prototype and window