edit base,js