Use hasOwnProperty() rather than testing defined-ness
Merge pull request #3 from azaroth42/master

Use hasOwnProperty() rather than testing defined-ness