MLHttpRequest()
        req.open('POST', '/getcommands/')
        req.send()
        req.onreadystatechange = function () {
            if (this.readyState == 4 && this.status == 200) {
                var json = JSON.parse(req.responseText)
                console.log(json)
                var table = document.getElementById('cmdq')
                table.innerHTML = ''

                for (var i = 0; i < json.LEN; i++) {
                    var row = table.insertRow()
                    var cell = row.in