Here, you can do what ever you like, this page is not indexed, nor forward facing. This page only runs the chat-click.js method script you've provided. There is no clean solution for running an onclick html event attribute only once. There are only work-arounds which require additional JS or jQuery on the front end, which defeats the entire purpose of optimizing the FCP and LCP in the first place. Thanks for your understanding.