Check if child property exists prior to adding to property

Will now check that split property names exist before attempting to add to them :) 
``` js
		if(i > 0)
			result += "if(!" + propertyString + ") " + propertyString + " = {};";
		propertyString += "[" + JSON.stringify(childProperties[i]) + "]";
```