Cursor edit, js edit