guvnorEditorObject is defined in the window object of the iframe where Guvnor is opened.
For example, this is the way I'm getting the reference to this object:
var guvnor = window.document.getElementById('guvnor_iframe_id').contentWindow.guvnorEditorObject;
Best Regards,