Add JS tests