text: $(document).ready(function() {
      $('.select').select2();
  });
  
  var i = 0;
  var original = document.getElementById('duplicater');
  
  function duplicate() {
      var clone = original.cloneNode(true); // "deep" clone
      clone.id = "";
      // or clone.id = ""; if the divs don't need an ID
      original.parentNode.appendChild(clone);
  }
  
  $(document).on('click', '#remove', function(e) {
      e.preventDefault();
      $(this).closest('.row').remove();
  })