cleaning and add click handler for a tags 5