Don't duplicate contact field IDs when cloning the input.

Also adding a javascript integration test for the Add Contact button.