Hey, I have just moved the logic in app.js. Now I am not using blur and onfocus events. I am triggering a new event "new-chat-message" at the place where we are adding chat messages to the model. So, whenever there is a new message , the window title shows New Message... . We can modify this message in two ways. One is that we show " New message from username " or  "user says...". What do you think ? Also, when should I stop the timer that is being initiated now for flash title. If it should stop when a message is seen then where should I write the code for ?