Update editor.js.coffee

Fix typo in function name.