don't use private scope variables in avatars.js