test on js only