It works when element has 'id' attribute. I did adding this button to form the same way you wrote adding new author - by cloning the button and removing id. I think jquery script won't work in this case.