fix #58, Whenever an update is triggered the iframe maintains the variables, eventlisteners etc