testing potential scope issue with editor jquery in edit mode