Updates JS tests