added js version test client