anchor.diff:                      .removeAttr("id")
                       .attr("name", createNameWithIndex(allSchemas.length));
               lastElement.after(newElement);
  +            toggleRemovalLink();
           });
   
  -        $(".removeSchema").click(function() {
  +        $("a.removeSchema").click(function() {
               $(this).parent("div").remove();
  +            toggleRemovalLink();
           });
   
           $("form#saveModule").submit(function() {
  
positive.code:             return "xmlSchemas[" + i + "].xmlSchema";
          }
  
          $("#addXmlSchema").click(function () {
              var allSchemas = findAllSchemas();
              var lastElement = allSchemas.last().parent("div");
  
negative.code:                         .removeAttr("id");
              });
          });
  
          toggleRemovalLink();
      });
  </script>