ar container = document.getElementById("container");
    var subContainer = document.getElementById("sub-container");
    var contained = document.getElementById("contained");
    var innerResult = document.getElementById("inner-result");
    var outerResult = document.getElementById("outer-result");
    var containedResult = document.getElementById("contained-result");

    subContainer.addEventListener("button-event", function(event) {
        innerResult.innerHTML = event.detail;
        event.preventDef