Update plugin.js

EditorInstance not available in scope (only giving me errors when using precompiled files on production - I think the variable name is getting changed by the compressor). Use event.editor instead.