updates JS tests