Also IMO you should use this.current.wrapper = this.current.iframe.parentNode.