Remove hasOwnProperty() for IE8 support