No problem.
instance.canvas.append(iframe); should be instance.canvas.append(instance.data.iframe);
instance.canvas.append(iframe);
instance.canvas.append(instance.data.iframe);
This is because there is no iframe variable defined, instead you have created an ‘iframe’ key of the instance.data object
iframe
instance.data