fix typo in WEF_WorkEditor.js

JavaScrtipt → JavaScript