js client changes