test js pay