Update editor.js.coffee

Fix typo in function name.
Merge pull request #13 from hlfcoding/patch-1

Update editor.js.coffee