Fix JS test