added __init for handlers
working chat (in js console)