<td><div id="[_id_comm]" class="div_script"><script>edToolbar('paper_txt');</script></div></td>
а в JS перебрал по тегу div
var elems = document.getElementsByTagName('div');
for (var i=0; i<elems.length; i++) {
if (elems[i].id == [_id_comm])
elems[i].style.display = 'block';
}
.div_script {
padding-left: 6px;
display: none;
}