edit JS client