Fix JS tests too.