Update hasOwn.js

Uses obj.js and no class2type.js for Object.prototype.toString