Fix avatarURI not being loaded in JS.