Update avatar.js

Shouldn't have done too much here. Just to make the new variables readable.