code: function pointAt(node){
        var parent = node.parentNode;
        var next = node.nextSibling;
        return function(newnode) {
          parent.insertBefore(newnode, next);
        };
      }
docs: Create a function that can be used to insert nodes after the one given as argument.