hasOwnProperty instead of falsey check, closes #37