Added explicit check for undefined or null
Now copying property values of an unknown type into resultant object
Merge branch 'master' of https://github.com/NathanAlden/DOMViewJS