fix for Cannot convert null to object  at hasOwnProperty (native) when node is null
merge the null fix
0.6.5