Replace calls to o.hasOwnProperty(p) with typeof x.p !== 'undefined'. Closes gh-1
Merge pull request #2 from rwldrn/1

Replace calls to o.hasOwnProperty(p) with typeof x.p !== 'undefined'. Closes gh-1