diff --git a/js/tinyDOM.js b/js/tinyDOM.js
index 3a04f4897f905aaa0f61e2fb5832c1876ce9a13a..b9c571a5b5040445206948ae8021a0c00ceeadd6 100644
--- a/js/tinyDOM.js
+++ b/js/tinyDOM.js
@@ -76,6 +76,23 @@
 		}
 	}
 
+	tinyDOM.exists = function(obj){
+		return obj !== null && typeof(obj) !== 'undefined';
+	}
+
+	tinyDOM.merge = function(json1, json2){
+		if(!this.exists(json1) || !this.exists(json2)){
+			return null;
+		} else {
+			for(var prop in json2) {
+				if(json2.hasOwnProperty(prop)){
+					json1[prop] = json2[prop];
+				}
+			}
+			return json1;
+		}
+	}
+
 	if(!window.μ){
 		window.μ = tinyDOM;
 	}