Cleanup in editMajor/Row.js