Added details about using hasOwnProperty in ES5