added a js response to uploading avatars. lets users know it was successful.