Add js for chat