code: function(index) {
  	   var elementDiv = this.subFields[index].getEl().parentNode;
  	      
  	   this.subFields[index] = undefined;
  	   this.subFields = inputEx.compactArray(this.subFields);
  	      
  	   // Remove the element
  	   elementDiv.parentNode.removeChild(elementDiv);
  	}
docs: Remove the line from the dom and the subField from the list.
  @param {integer} index The index of the element to remove