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.
Merge pull request #16 from bborn/patch-1

Update plugin.js