code: function getFirstChildElement(parent) {
    var cursor = parent.firstChild;
  
    while (cursor && cursor.nodeType !== 1) {
      cursor = cursor.nextSibling;
    }
    return cursor;
  }
docs: NOTE: nodeType of 1 means Element
  @param {Element} parent
  @returns {Element} cursor