Fix for global.hasOwnProperty (IE8)