javascript update. text editor update.