add javascript to prevent multiple clicks of the clone links