fixes #1914 javascript for adding repeated fields empties out the cloned field when you click add