Added hasOwnProperty
Merge pull request #2 from dak0rn/master

Changed "extend" loop by adding hasOwnProperty()