knockout template for chat