add client in js