s'
                    cell = row.insertCell(2)
                    cell.innerHTML = '<button id="delCmd' + i + '" class="button_red" onclick="delCommand(' + i + ')">' +
                        '<span data-i18n="btn_del">Del</span>' +
                        '</button>'
                }
            }
        }
    }

    function addCommand() {
        var req = new XMLHttpRequest()
        req.open('POST', '/addcommand/')
        var json = {
            'CMD': parseInt(document.getElementById('commands')