Start to cleanup and document maintainer.js.