Within a blazor app we have a cookie consent banner. On accepting this we wish to trigger some javascript only if they accepted. We tried putting it within the component but this isn't allowed and says to do it on index.html but this doesn't know about the response to the cookie consent. Is it possible to do somehow?