code: function(el) {
  
        var text = '';
  
        for (var i = 0; i < el.childNodes.length; i++) {
            var curNode = el.childNodes[i];
            var whitespace = /^\s*$/;
  
            if(curNode === undefined) {
              text = "";
              break;
            }
  
            if (curNode.nodeName === "#text" && !(whitespace.test(curNode.nodeValue))) {
                text = curNode.nodeValue;
                break;
            }
        }
  
        return text;
  
      }
docs: Returns the value of the text node