avatars are now executable javascript code instead of static images... need to create method calls to control different behaviours