updated editor js