Remove hasOwnProperty which is breaking IE8 support.