use javascript to show the hidden attachments, only after the duplicate has been removed