Updated the js client