Refactor resident_edit.jsp.