repairng javascript for edit notes and repairing adding notes so that product owner can enable them"