I have some fancy code that I need to run in an HTML component. I redirect flow to a third party application, which then GETs my "receipt page" which is a Wix router page. The "receipt page" is being displayed in the HTML component. The user can fill out a form on the "receipt page" and hit the Submit button. Problem I'm encountering is that the onReady() function is being called twice, and the submit_button_clicked is also being called twice. Each call comes at precisely the same time - see the timestamps on some of my console logs below. My guess is that this is a redraw issue on the GUI. While this is not fatal for what I need to do, I would like to at least understand why it's happening because I hate mysteries. Even better, I'd like to avoid it. Anybody have ideas?