Adding some fixes for the form duplication jquery plugin