add sample js client