finished editor (JS)