update js tests