Update hasOwn.js

Using obj.js in place of class2type.js for obtain Object.prototype.toString generic function.