Adding links for anchor elements