Move FormNavigation to mail-common.js, and fix some nits