Update js client