Refactored the nu_collections form field duplication js