add edit plan view and editplan.js