js client