e.log('rendered.');
                var result = "";
                if (msg.script != "") {
                    result = eval(msg.script)();
                    console.log('result was: ' + result);
                }
                var msg = { id: 1, data: { eventId: msg.id, eventValue: JSON.stringify(result) } };
                connection.send(JSON.stringify(msg));

                $('.ui.dropdown').dropdown();
                $('.ui.accordion').accordion();
                $('.menu .item').tab();
     