adding a client ws js