add avatars and some js fix