remove texteditor scriptrisk convert, add js encoder library