Minor fix in addedit.js