We are hosting a servoy web-client application in iframe. I am adding servoy solution as src to the iframe while onLoad of IFrame with different ID as suggested in a webinar. But when we refresh the web page say, index.html page which contains the iframe, servoy page is shown but nothing works. UI Freezes. On Browser console, "Uncaught ReferenceError: Wicket is not defined", "Servoy not defined".

Can someone please help me on this? How to handle the browser refresh here. If we do not refresh the page, everything is perfect.