split off avatar.js from settings, added username.js