split off emails.js and password.js from settings.js