edit js list