code: function createShortcut (tagName, tagConstructor) {
      nodes[tagName] = function (a1, a2, a3, a4, a5, a6) {
          return new tagConstructor(a1, a2, a3, a4, a5, a6);
      };
  }
docs: Create shortcut functions on the nodes collection to simplify the template functions e.g. nodes.$text=function(exps,
  textcfg) {return new $TextNode(exps, textcfg);}