code: function(root,node,before) {
  	if (node instanceof Array) {
  		var i = 0;
  		var c = node.taglen;
  		var k = (c != null) ? ((node.domlen = c)) : node.length;
  		while (i < k){
  			insertNestedBefore(root,node[i++],before);
  		};
  	} else if (node && node._dom) {
  		root.insertBefore(node,before);
  	} else if (node != null && node !== false) {
  		root.insertBefore(Imba.createTextNode(node),before);
  	};
  	
  	return before;
  }
docs: insert nodes before a certain node does not need to return any tail, as before will still be correct there before must be an actual domnode