Fixes #503, Notes broken on Firefox 32

Unwrap the editor object if it's wrapped