js client fix2