                if (e.data.dataReceived.overlayNinja && "response" in e.data.dataReceived.overlayNinja) {
                            // pass
                        } else {
                            processData({ contents: e.data.dataReceived.overlayNinja });
                        }
                    }
                }
            });
        }

        // Process incoming messages
        function processData(data) {
            // Handle clear command
            if (!data || data ==