avatar_list should always exists (even only empty) - fixes #1221

Signed-off-by: emanuele <emanuele45@gmail.com>
A bit less javascript in profile

Signed-off-by: emanuele <emanuele45@gmail.com>