Added JavaScript for deduplicate tool.