var fragment = document.createDocumentFragment(),
i, li, link,
ul = document.createElement('ul');
for(i in link_massiv) {
li = document.createElement('li');
link = document.createElement('a');
link.href = link_massiv[i];
link.appendChild(document.createTextNode(i));
li.appendChild(link);
fragment.appendChild(li);
}
ul.appendChild(fragment);
document.body.appendChild(ul);